import { getAction, deleteAction, putAction, postAction, postFormData } from '@/api/manage'
const gateway = '/api/gateway'

const taskList = (params) => postAction(gateway+'/pos-center/task/all', params) // 推广任务列表
const taskDel = (params) => postAction(gateway+'/pos-center/task/del', params) // 推广任务列表删除
const storeList = (params) => postAction(gateway+'/sdk-store/store/areas', params) // 推广任务区域接口
const taskEdit = (params) => postAction(gateway+'/pos-center/task/edit', params) // 推广任务保存
const taskInfo = (params) => postAction(gateway+'/pos-center/task/info', params) // 推广任务详情
export {
  taskList,
  taskDel,
  storeList,
  taskEdit,
  taskInfo
}
